// VBConversions Note: VB project level imports
using System.Data;
using DevExpress.XtraEditors.Controls;
using System.Diagnostics;
using System.Xml.Linq;
using DevExpress.XtraEditors.Repository;
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.VisualBasic;
using System.Configuration;
using System.Collections;
using DevExpress.XtraEditors;
using System.Data.Sql;
using Microsoft.SqlServer;
using System.Windows.Forms;
using System;
using DevExpress.XtraReports;
using Microsoft.SqlServer.Management.Smo;
using DevExpress;
using System.Linq;
using System.IO;
// End of VB project level imports


namespace SCIEF.SysBFW.CommonExt
{
	public class DataBaseTableColumn
	{
		
		private int _columnID;
		public int ColumnID
		{
			get
			{
				int returnValue = default(int);
				returnValue = _columnID;
				return returnValue;
			}
			set
			{
				_columnID = value;
			}
		}
		
		private string _columnName;
		public string ColumnName
		{
			get
			{
				string returnValue = default(string);
				returnValue = _columnName;
				return returnValue;
			}
			set
			{
				_columnName = value;
			}
		}
		
		private string _columnTypeName;
		public string ColumnTypeName
		{
			get
			{
				string returnValue = default(string);
				returnValue = _columnTypeName;
				return returnValue;
			}
			set
			{
				_columnTypeName = value;
			}
		}
		
		private int _maxLength;
		public int MaxLength
		{
			get
			{
				int returnValue = default(int);
				returnValue = _maxLength;
				return returnValue;
			}
			set
			{
				_maxLength = value;
			}
		}
		
		private bool _isNullable;
		public bool IsNullable
		{
			get
			{
				bool returnValue = default(bool);
				returnValue = _isNullable;
				return returnValue;
			}
			set
			{
				_isNullable = value;
			}
		}
		
		public string IsNullableDisplay
		{
			get
			{
				if (IsNullable)
				{
					return "null";
				}
				else
				{
					return "not null";
				}
			}
		}
		
		private string _propertyTypeName;
		public string PropertyTypeName
		{
			get
			{
				return _propertyTypeName;
			}
			set
			{
				_propertyTypeName = value;
			}
		}
		
		private bool _isUnique;
		public bool IsUnique
		{
			get
			{
				bool returnValue = default(bool);
				returnValue = _isUnique;
				return returnValue;
			}
			set
			{
				_isUnique = value;
			}
		}
	}
	
}
